#include "stablization_param.h"

StabilizationParams create_default_stabilization_params() {
    StabilizationParams params;
    params.fov = 1.0;
    params.fov_overview = false;
    params.show_safe_area = false;
    params.min_fov = 1.0;
    params.fovs = NULL;
    params.fovs_length = 0;
    params.minimal_fovs = NULL;
    params.minimal_fovs_length = 0;
    params.stab_enabled = true;
    params.show_detected_features = true;
    params.show_optical_flow = true;
    params.frame_readout_time = 0.0;
    params.adaptive_zoom_window = 4.0;
    params.adaptive_zoom_center_offset_x = 0.0;
    params.adaptive_zoom_center_offset_y = 0.0;
    params.adaptive_zoom_method = 0;
    params.size_x = 0;
    params.size_y = 0;
    params.output_size_x = 0;
    params.output_size_y = 0;
    params.video_size_x = 0;
    params.video_size_y = 0;
    params.video_output_size_x = 0;
    params.video_output_size_y = 0;
    params.video_rotation = 0.0;
    params.lens_correction_amount = 1.0;
    params.background_mode = SolidColor;
    params.background_margin = 0.0;
    params.background_margin_feather = 0.0;
    params.framebuffer_inverted = false;
    params.is_calibrator = false;
    params.trim_start = 0.0;
    params.trim_end = 1.0;
    // Initialize other fields here
    params.background.x = 0.0;
    params.background.y = 0.0;
    params.background.z = 0.0;
    params.background.w = 0.0;
    params.of_method = 2;
    params.current_device = 0;
    params.fps = 0.0;

    params.fps_scale = NULL;
    params.video_speed = 1.0;
    params.video_speed_affects_smoothing = true;
    params.video_speed_affects_zooming = true;
    params.speed_ramped_timestamps = NULL;
    params.frame_count = 0;
    params.duration_ms = 0.0;
    return params;
}